/**
 * @author phoenics@126com
 * @date 2017年11月8日 下午3:57:29
 * @version V1.0
 */

package com.jx.gocom.nlp.classify.webservice.DTO;

/**
 * 测试结果，如果类别为空串，不属于任何分类
 */
public class PredictResult {
	private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(PredictResult.class);
	private String msgid="";
	private String classify="";
	private String dataSource;
	private String position;
	private String tag;
	public PredictResult(String msgid,String dataSource,String position,String tag,String classify) {
		setMsgid(msgid);
		setClassify(classify);
		this.setDataSource(dataSource);
		this.setPosition(position);
		this.setTag(tag);
	}
	/**
	 * @return 消息ID
	 */
	public String getMsgid() {
		return msgid;
	}
	/**
	 * @param msgid消息ID
	 */
	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}
	/**
	 * @return 类别
	 */
	public String getClassify() {
		return classify;
	}
	/**
	 * @param classify 类别
	 */
	public void setClassify(String classify) {
		this.classify = classify;
	}
	/**
	 * @return the dataSource
	 */
	public String getDataSource() {
		return dataSource;
	}
	/**
	 * @param dataSource the dataSource to set
	 */
	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	/**
	 * @return the tag
	 */
	public String getTag() {
		return tag;
	}
	/**
	 * @param tag the tag to set
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}
}
